﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UYD_WCS_AS_AGV_Controller.AGV.Model
{

    public class BatteryStamp
    {
        /// <summary>
        /// 
        /// </summary>
        public int secs { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int nsecs { get; set; }
    }

    public class BatteryHeader
    {
        /// <summary>
        /// 
        /// </summary>
        public BatteryStamp stamp { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string frame_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int seq { get; set; }
    }

    public class BatteryMsg
    {
        /// <summary>
        /// 
        /// </summary>
        public double capacity { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double power_supply_technology { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double design_capacity { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double power_supply_health { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string> cell_voltage { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double current { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public BatteryHeader header { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double charge { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double voltage { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double power_supply_status { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string serial_number { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double percentage { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public bool present { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string location { get; set; }
    }

    public class BatteryReport
    {
        /// <summary>
        /// 
        /// </summary>
        public BatteryMsg msg { get; set; }
    }

}
